Add some debugging output to CMake script.