Fix for travis and gradlew