Fixed some Xcode 5 warnings