Made emacs use pdflatex command, instead of latex