fixed cmake error