posix: implement a custom strcasecmp which doesn't segfault with non-ascii strings, gettext translations now work nicely