Fix compilation issue when there is no traces