add swig requirement