Make runtime/classlibs buildable with custom osx sdk.