Resolves oshmem_info segfault on OSX. This fixes #3904. Refs #3763