Fix non-C++11 code path.