Fix 2.10 compilation.