make it work on Windows
Merge pull request #4 from akavel/patch-1

make it work on Windows