update avhttp fix for c++11