Fix warnings found in Xcode