Clean up old lib references.