Add support for poppler