SU survives scare against N.C. State