modify configure files and ant compile