Add swig and public lib