make strerror_r behave nicer on failure