Not every one is paid in $. There are devs who live in countries with currencies that have lower value when compared to $.
Also, if the currency is of lower value, they get paid more. Example being the English pound is of a higher denomination than a dollar, but whether it's "worth more" is dictated by purchasing power, relative movement over time, etc.