Fix a build issue with ::strcpy_s missing on MinGW.