Adapt to latest ddmlib version

This change is a quick adaptation to changes in DDM lib used by Android Gradle plugin 0.14.x.
Closes #208.