How a tiny African country became the world’s key military base