fixed SWIG interface specification to work with SWIG 2.0.4