In West Africa, Canadian mining firms come up against independent states