North Carolina defeats NC State, 27-19