fixed xcode 6.1 build error

as title.