Remove some unneeded libraries