Fix Xcode 6 + iOS 8 crash