Add legacy latexmk support