Fix compilation error in SL