Reset locales when running lmake.  Fixes #665.