When using env-var, check for cygwin