African economies are still coming to terms with the legacy of a period when they were a source of raw materials for European powers.