defer SWIG-related processing after libshogun is build