Another fix for string_ref compare with const char*