Use _putenv on Windows/MinGW