xcode4: add support for Xcode4.