improve cmake files