fixed building with msvc
Merge pull request #6 from SushiTee/msvc_fix

fixed building with msvc