Remove old library references