Fixing get iOS SDK version for Xcode 4
Merge pull request #1543 from penguinho/locale_fix

Fixing get iOS SDK version for Xcode 4