Fix 'tools' target dependencies