Fix Boost.Locale compilation under gcc 2.3.4

See the ticket #10695