Fixed configure portability for some systems that require that the return value of strerror_r be used (which is definitly non-standard), such as Ubuntu 13.04.
No code changes.