Use string_ref compare method instead of an undefined equality operator between string_ref and char*

This involve some overhead (implicit conversations from char* to string, and from string to string_ref)