Let it compile with old Xcode

We still have a little time left for iOS6 development. If you are maintaining 2 xcode this is needed. (Of course the code can be deleted soon...)