lcg-settings: split CPPFLAGS atlas hack into CFLAGS and CXXFLAGS