Replaced manual NSAutoreleasePool handing with @autorelease
Use clang on Mac OS X, which is required for the @autorelease keyword