improve Config.cmake