Fixed cmake build