changes to build with Xcode 4.6 and so that the finish install helper works under sandboxing.