Gemify libcsg

We will need to build gems to distribute csg.