fix build error in xcode 5