be smarter about setting CC/CXX on linux [skip ci]