Clean up libraries