Fixed compilation in MSVC through CMake.
Merge pull request #34 from lucasb-eyer/master

Fix compilation in MSVC through CMake.