cmake error fix