Allow build without docs to avoid ghostscript dependency.