fixed C build for ecos