Fix cmake warnings.