Survey: US manufacturing activity contracted in August