Fixed gcc compilation error.