Silence MSVC compiler warnings
Correct cmake scripts for MSVC