Always set strtok_r to strtok_s when using mingw