Force correct locale
Fix basename invocation in bootstrap