Fix bad CMake causing some tests not to run.