Changed some CMake options to apply for Microsoft Visual Studio only.