Deal with pdf builds.