fix ant clean problem if build dir is not found