call cc/c++ instead of gcc/g++ in tests