Readded putenv declaration for mingw32.