LF build: Fix use of "unless" attribute

In Ant 1.8, the "unless" attribute can only be used on <target>,
not <antcall>.