Add configuration for ant to compile with java 1.7 version.