Fix SWIG file for C++ interface change