Handle CMake CMP0024