[Bug 245] Builtin msvcrt does not set the environment properly