Fix pdflatex make errors