Create BerkeleyDB registry lib