use PDFThumbnailGenerator when running on JRuby