link functions during funcDef cloning