Apply -outdir=g:latex_build_dir (fixes #57)