Ignore warnings when building the Python SWIG wrapper.