Better CMake support for Debug/Release builds