Use 10.10 SDK when building on Yosemite. Change min-version accordingly (as good as possible).