fix warning coming from latest clang++ from Xcode 5.
xlc compiler on OSX is not anymore supported.
simplify detection of OSXSDK and IOSSDK.