Apply libstdc++ fix present in later versions of gcc 4.8

Without this clang build fails