Add working external-deps rebuild scripts for OSX and iOS.

More will follow when I start working on those platforms.