Fix compilation with ant