Avoid CMP0005 warning in CMake