Make gradle build  work