What caused the spread of islam in north africa