fix target dependencies