Fix up Gradle build.