Fix #1

Build script does not work with gradle version 1.4.