Changed switch/case orders - added syscall and break
Fix CID 1224289
Workaround blkdevice size on XNU
Fix build on w32
Fix code analysis on debugger (r_core_io_reat_at issue)
More improvements for cygwin building