Improve XCode project generation so the default configuration has no warnings.