don't use -Ywarn-unused-import on 2.10 builds (not supported)