Fix 9.0 compilation