Remove MSVC-incompatible flags from CMakeLists.txt