simplify cmake files