workaround mingw's not having unsetenv