Added more debug to CMake scripts