Add -outdir support for latexmk.

Partial fix for #57.