Fix build and installation of CIL library (#158)

Thanks to Zachary Anderson for the report.