Update CMake routines.