remove unused libraries