If you live on the continent of Africa you are by default african. Race has no bearing. Egypt is no less an african country than say Kenya. Americans have bastardized the word to mean black to suit their own agenda.
If you don't live on the continent of Africa, then you have no idea how some locals view other locals. Example: I call myself an American, he's a Canadian, she's a Mexican, yet we all live on a continent called America.