Instead of including openvdb.h in RayIntersector, use TreeT instead of BoolTree