sync C++ compiler detection under Windows with the C compiler detection