Fix test failure for C++ stdlib.