U.S., Africans vow to fight terrorism