use NSAutoreleasePool on Mac/iOS to implement MCAutoreleasePool