Adapt pestr for the new libpe.