Fix #601: Suggested way to enhance build.xml targets does not work.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>