Fixing several undefined references which prevented the Python SWIG modules from being loaded.