Fixed cmake warnings