Fix x64 compilation on Windows