d_do_test: make used C++ compiler configurable
Merge pull request #2342 from rainers/test_configure_cc

d_do_test: make used C++ compiler configurable