North Carolina man tried to board a flight to join the Islamic State group, authorities say