library build