Build the library.