Add a dependency on the .dir file to make sure that the directory