Fixed compile in Environment class.