correct paths in swig control script