Use compare_constant/2 moved from cloudi_lists to cloudi_string.