fix building of tests/benchmark