Poppler < 0.22 support