Remove unneeded libs