Scotland secured their first World Cup victory in 36 years by beating Haiti 1-0 in Boston. John McGinn scored the only goal at Boston Stadium.