I'm still working on this.
These changes are needed to build the benchmark on Nix. I tried to keep the Nix-specific changes out of the repo, but I may have some left.
I also added a install target, so they can be packaged.
Some files are encoded using DOS new lines instead of UNIX. I think I will leave those changes to another MR, otherwise they will introduce a lot of noise.