fixed Xcode 5 build error