adapting to the release of factory 4.0.0, part 8

patch mpir because dist-lzma is no longer supported by AM_INIT_AUTOMAKE