Tyler O’Hara win MotoAmerica