cls: backport \str_case* when non-existent