simplify cmake file