remove extra libraries