updated support for ant compiling