Fix target dependencies