Reviving the SWIG_SPLIT feature