Add swig as a new dependency.