Libyan workers built a 9-foot-high wall of fabric, sand and steel, strong enough to withstand a car bomb, to encircle the Mellitah gas terminal on the Mediterranean in the northwestern corner of the country.