Fix flag in CMake tests