Fix build failure on iOS SDK 7.1