Convert dependence on _xxxx() Windows deprecated CRT functions into safer macro redefinition for __WINDOWS__ only.