Made CMake VC++ compatible