cmake: add missing dependencies