Use the environ PATH to find pdflatex.

Fix #40