Move _putenv and _wputenv out of _POSIX_ guard. See http://msdn.microsoft.com/en-us/library/83zh4e6k.aspx for more details.