Gradle 1.8 compatibility.

Fixes #4.