Fix warnings for new xcode