Fix for MPIR support.