Fixed Xcode5 warnings