Remove swig dependency