test cgo: ensure helper script works (#3236) Small QOL change to ensure that generate_imported_dylib.sh runs would always success even when an older version of the symlink exists locally.