Update for Go 1.2 release.  Add support for linking SWIG code directly
into executable, rather than using a shared library.