Incorporating Jeff Hammond's patch for Elemental's handling of threading support during initialization