SWIG warning fix, buildfix for MinGW.