Merge "Fix shared library bug in bag attributes" into lmp-dev