Support "set environment" and "unset environment" in MinGW builds.