r9835: Make ldb_map compile in the stand-alone LDB build