Fix build failure on Windows
Merge pull request #166 from muminc/master

Fix build failure on Windows