Fixed mpir.h and ulong issue.