Make build.gradle more portable.