[task] Fix compilation error when compile on OLE machine