Add missing includes for min_dist_bbox.