Fix for x64 build
Merge pull request #1 from kost/win64-fix

Fix for x64 build