ensure that Dir[] results are predictable in build tests