d/ht: Fix build issues against updated history structure.
I don't have a package or build of onnxruntime so I can't fully test this, but I just disabled the check for onnxruntime and the only build error I get after this is missing include.
cc @slitcch