Move CXXFLAGS to the end