Update iOS build scripts to work with iOS 7, Xcode 5 and Clang