Fix clash of strncasecmp prototypes in C++ mode.