CTest: fix passing configuration type to CMake
remove a debugging message