shogun: swig is a build-time dep