Add 8.0 to available iOS sdks. Fix Xcode path finder mechanism.

I don't think these lines are important for this PR. Could this script be run in Xcode?