remove target dependencies that we don't use