Clean-up root CMakeLists.txt, removed all unused checks and config.h.cmake defines