minify the library