Remove a bunch of unused library dependencies.