Explicit cast to (const char *) in strcasestr for C++