fixed putenv_s for Windows