UNC takes advantage of Pack turnovers in win