fix pdf-library dependency