repair error on cmake