Fix conversion of errno to string for win32