Fixed warnings with new Xcode