Updating read_pdf function to run on 32bits Windows