Added support for generating Python bindings via SWIG.