Fixed up usage of environment variables in the PDF processor so it can run on Windows.