Fix annoying locale warnings