fix builds for 2.10