Fix MSVC compilation warnings
Merge pull request #30 from nulltoken/master

Let's make MSVC happy again :)