REVIEW-4838: verify that c++ compiler (g++ / clang++) is used