SWIG: ensure target of SWIG-generated dependency rules is correct