Make IDE build on OSX when 10.6 SDK isn't available
- More recent versions of Xcode no longer ship with the
10.6 SDK so the default SDK setting of 10.6 causes an
error. This change makes it build with whatever is
the latest SDK on whatever Xcode is being used
but sets the deployment target to 10.6 so that it
will run there as well.