Add switch for Xcode 5/6