Get libc++ building on Sun Solaris. Patch from C Bergstrom.
I missed this when it was in review. It seems like a massive regression, as it breaks all of the previously-working locale support on Solaris and replace it with something that is just plain broken.
As the author of the code that was culled, I would have liked to have been on the cc list for this.