Replace unneeded variables set by CMake.