Improved check.latex.deps