Fixed SL5 compilation error