Use the new NSApplicationMain attribute