fix issue for xcode6.

fyi.