tests/CMakeLists.txt: use `configure_file' instead of `sed'.