export SWIG=path/to/swig/binary export XERCES_DEVEL=1 ... continue with build ...