Added back config-file bits to CMakeLists.txt