made latexmk optional