Clean up unneeded libs