fix cmake errpr