Simplify CMake config.