Over the past few years, clean energy has overtaken fossil fuels in terms of global spending, but one place is still falling short: developing economies.