Compile locale-inst.cc and wlocale-inst.cc as C++11.