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

Use string_ref compare method instead of an undefined equality operator between sting_ref and char*

This involve some overhead (implicit conversations from char* to string, and from string to string_ref)