Change build file to fix compiler error on 2.9.x