Makefile improvements. Don't run rootcint with ROOTCFLAGS.

Also, extract CXX and CC from root-config instead of hardcoding the
compiler names.

(cherry picked from commit f7e4140dfb928ca9404e746b71f8da4a3e16f1ff)