Use scratch space in benchmark builders