Adds a temporary auto-relink function to linking