So the relevant file is /usr/share/texmf/pdftex/config/pdftex.cfg for pdflatex. Switching to pdflatex would not change the problem at all, except that the result would be Letter instead of A4. The point is that you want the type to be what the person has configured on his machine, so you have to delay doing the conversion until the install.