add swig dependency