use available threads for building