Fix build on windows
Merge pull request #39 from trask/fix-build-on-windows

Fix build on windows