This prevents warnings about the stdcall calling convention on Win64. This patch was submitted by Ian Lynagh.