Avoid more recent CMake functionality for now.