Fix Visual Studio solution generation with CMake