swig: cross build support.