Handle strerror_r being different with _GNU_SOURCE