Fixes SVACE issue with thread-unsafe calls to strerror