Add SWIG as dependency.