fix warnning for Xcode 6 GM