Removes old library definition.