Use the C++ compiler and all compiler flags when generating dependency files.