Fixed CMake logic when don't find CPPTest.