removing references to unneeded libs