Enable compatibility with android gradle plugin 0.11.0.

Could this be replaced with something like
```groovy
if (variant.buildType.debuggable) { }
```