Fix Makefile to run pdflatex multiple times, for references.