UriComparator was an implementation of std::binary_function class, which has been deprecated since C++ 11.
Also disable unwelcome -Wcast-function-type warnings for C files because this check is irrelevant as belle-sip does a lot of “incompatible” function casts in callback context.