Set CMP0042 value for compatibility with older CMake