Add Xcode4.X Compatibility