Fix complie error with Xcode 6.1