Updating the read_pdf function

- Fix default option
- Fix xpdf version
- Fix call to system()