Set locale in pre-bootstrap script