Fix the CMake build with tests enabled