fix Issue 9571 - link error due to using unique ids in anonymous funcliteral
Merge pull request #2566 from 9rnsr/fix9571

Issue 9571 - link error due to using unique ids in anonymous funcliteral