compatibility with java 7
remove runtime dependency for ant