workaround older ant problem with jdk8