shad/MT: automatically detect CC in Makefile