osx: fixed detect of latest sdk after yosemite
Merge pull request #5704 from elupus/xcode_sdk

osx: fixed detect of latest sdk after yosemite