Fix build with ant