Fixed Windows build
Merge pull request #330 from nurupo/master

Fixed Windows build