Fix windows build
Merge pull request #167 from topilski/master

Windows build fixed