Typedefs to references fix for the compactdefaultargs feature

Fixes error: SwigType_del_reference applied to non-reference type
3 files changed