fix(build): fix build on Windows

By conditionally define strcasecmp family with _stricmp.
fix(msvc): make all code compilable with VC >= 10