Fix cmake warning.