Bugfix in add_gtests CMake module.