Change how the dblatex/lndir problem is worked around