Fix debug and run target dependencies