Fix build.gradle for CI systems.