Gradle fix for debug target.