hyperlevedb: refactor build.