Fix issue #5

When not using the -builtin SWIG option there is a subtle difference
between SWIG_POINTER_NEW and SWIG_POINTER_OWN that I hadn't fully
appreciated.