Remove unused libraries