Poppler < .22 support -- very hack'ish, not for inclusion in master branch!