Modified to build against latest poppler library.