add support for main:, which accepts NSProcessInfo.processInfo.arguments