This reverts commit c2f84af73d. strcasestr() is not compatible with mingw nor MSVC. different approach is needed.
c2f84af73d