remove dependency on latest version of SWIG