Use stdcall on i386-windows only, avoiding warnings on x86_64-windows.