Jeremy McWilliams won the second Supertwin/Sportbike race at the North West 200 for his fourth victory at the event.