Fix for a bug in PDF documentation build.