Fixes install target for shared library.