We should use strerror_r instead of strerror when it's available.