swig: adding an optional_depends