Fix cmake error.