Refactors CMake variable names.