hexcomp assumes that the directory separator is always '/', while this might prove untrue on non-linux platforms. Some platforms use '/', other use '\', and yet other handle both.
The attached patch makes hexcomp recognize both forward- and backslash as a directory separator.
Note: I was also thinking about making the directory separator a compile-time definition, but such approach would fail platforms that accept both '/' and '\'.
applied to upstream.