Fixes setlocale warnings

This fixes the recurrent message displayed on vagrant boxes: 

```
warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)
```