Use childpool lib rather than inline file
Fix duplicate check handling in Libraries.findDecl