Copy meat of MPIDE from DMG in OS X.
Use LLU for integers in tests suite, fixes build in OS X.