workaround strerror_r ignoring return value warning

fix (workaround) issue #39
because of Werror, just a hack. Affected: ubuntu 13.04 gcc