sort out user and default CFLAGS and CXXFLAGS