fix pdflib test, functions only available if PDFLIB_MAJORVERSION >= 8