Fix build in MS Windows.
Merge pull request #2 from tehnick/fix-build-win32

Fix build in MS Windows.