Move CXXFLAGS to a proper variable