Added -DSWIG_PYTHON_LEGACY_BOOL to the swig command for swig 3.0 compatibility problems with Booleans.