Fix errors in Rakefile for benchmark task