fix build with ant