new version of change_dylibs.sh