Fixed multi-threaded building failure