NC State survives Virginia Tech in OT