fix warning when force rebuilding with 1 thread