[tbs_plugins] Fixed build directory creation when cross-compiling.

It would still use the host's architecture, now it creates a directory
for the target's architecture.