[renderer] Use custom hash for not tuples

Fixes build with older boost