osx and ios now use the same ExternalInterface.cpp file