Fixed gradlew build problems.