Support -hidir in conjunction with -j