fix C#-typemapping with SWIG >= 3.0.0

SWIG >= 3.0.0 has some new handling with C# (Mono) and breaks typemapping created for earlier versions of SWIG.  For further reference see:  http://www.swig.org/Doc3.0/CSharp.html#CSharp_introduction_swig2_compatibility