pmt: import on all client swig stuff
build: minor tweaks for swig, warnings.