Fixed cmake script