Fix for Gradle build system update from 0.8 to 0.9