Fix a deprecation, for el7 in particular