Fixed Gradle 2.* compatibility problem