fixes 467, add support for building with gradle