How is this exploitation? Did anyone force him to sign this contract?
I'm from a rather poor country, and when I was starting in my career I would absolutely love to earn $10/hour. In fact that would be a dream salary for me. $2.5 is not great, but it's about what I earned in my first job (and my country may not be rich, but it's still way richer than Ghana).
So I'm not sure what's wrong with that. Can our friend earn more locally? Great, they should reject the offer.