Only allow debug and release builds in CMake script