Fix OpenSSL build script for Xcode 5 / iOS 7

Hi,
I had to make the following changes to the OpenSSL build script so that it successfully builds OpenSSL for iOS 7, using Xcode 5.