[CB-4513] Adding logic to remove lib-files at uninstall