Proper label fix for shared library