changing SDKROOT env var to BUILD_SDKROOT, as it causes problems for some builds with xcode 4.6
changing DEVROOT to BUILD_DEVROOT so that things look consistent
Merge branch 'xcode4_6' into ios-like-android