DEVELOPER-968 fix casecmp
Merge pull request #512 from pmuir/DEVELOPER-968

DEVELOPER-968 fix casecmp