Fix reference in single-threaded build