added swig as a dependency