Remove some unused library dependencies.