CMake: add "before" include in benchmarks

This finishes the work started in the previous commit.