Add support for multi-threaded building

- controlled via --build_threads command line argument