Add argv emulation for osx