fix cmake 3 warnings: remove/fix invalid dependencies