swig: workaround namespace for swig>2.0.3 and gcc <4.8