fixes unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'