build: output: Also make command output thread safe

Yes, I'm that kind of a basterd. I don't want my output to be messed up
by 16 threads.

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>