change buildDirectory to targetDirectory to avoid ambiguous conflict with builder

Signed-off-by: Rémi Parain <rparain@ubidreams.com>