Fix var declarations in benchmark.