Libya wins legal dispute against Brazilian firms