Squashing a warning during swig compilation + unittests