Fix windows cmake build

Don't link libm for MSVC
Merge pull request #10 from chrihartl/fix_windows_cmake_build

Fix windows cmake build