FBI thwarts attack plot in North Carolina