fix failing http test with g++-4.8