configure: replace ${CXXLAGS} with ${CXXFLAGS_for_sh}