cmake: fix linker deps for CUDA