Migrated to swig 1.2.2