Fix compile error with msvc
Merge pull request #100 from cgohlke/patch-12

Fix compile error with msvc