lib: Typo in comment.
builder: Missing include of <locale.h>.

Required by setlocale.  For some reason you only see the error
when compiling with -O0.