Merge pull request #388 from h2o/kazuho/pr385-c++

fix C++ compile error