get SWIG wrappers working