North Carolina rocked by 5.1 magnitude earthquake