Setting up swig plugin