Fix ios build for XCode 5