Clean up the library as well