fix problem with strncasecmp on windows