Fix ci_char_traits::compare (used equals instead of comparison).