fix cmake error