fix build with latest gradle