Fix gradle build.