Added an autoreconf in workaround for poppler.