add missing dep on dir

Change-Id: Ib10f30620027ad8a79a8464abee094e3961684d5
(cherry picked from commit d14624c0f356035248983940b193ee71fc5c3c4a)