fix CXXFLAGS, automatically renumber windows in tmux