database library build