Fix cmake ordering.