Fix the iOS build scripts for Xcode 6 building

Also upgrade to OpenSSL 1.0.1j (the latest).

/cc @jspahrsummers