get rid of unused libraries