Lessons from the CDM capacity building