Improvement in build.xml: fixed the issue with too many parallel threads.

Signed-off-by: Paolo Maresca <plo.maresca@gmail.com>