DEVELOPER-968 fix casecmp