Append the std gnu line to existing CXXFLAGS

We need to append to CXXFLAGS here instead of overwrite it. This is why originally included lib dirs are not being found when building native extensions.