adding hack to fix setlocale behavior on OpenBSD 3.8+ (#1427512). I don't think