redirect stderr to dev/null on unix and windows benchmarks