Fixed cmake+dependency bug. No good idea why it happened in the first place