switch to pari latest version; fix the patch for libfac