strerror_r has portability problems, switched back to strerror on linux as used throught xbmc. Should do something about strerror thread safety
throughout xbmc sometime in the future.