Added isCustomHeapInitialized for Mac.