Add argv emulation to the mac app.