benchmarks: Upgrade criterion to use env