strerror: work around FreeBSD bug