* commit 'bb7b51978eb5341e9a1204a447c8340bfb248504': Fix issue with using locally defined attrs in a shared lib