Applied patches by Richard Darst for fixing SWIG building.
Added missing assignment of handle.
Built new SWIG interface.