fix warnings on new XCode