Fixed cmake dependencies