Fix Building with AS 0.6.+ and Gradle Plugin 0.11.+