fixed build for latex/latexpdf target