Remove unused shared libraries