Fixes for building kits using Xcode tools on native OSX