Fixed warnings on Windows
Merge pull request #433 from nurupo/master

Fixed warnings on Windows