updates to build script to add typemap to swig interface