Fix x64 compilation with MSVC
Merge pull request #4041 from CyberShadow/pull-20141002-115249

Fix x64 compilation with MSVC