Process: Fix set/getEnvironmentVariable on cygwin