Fix MSVC warnings
Merge pull request #10 from tbeu/fix-warnings

Fix MSVC warnings