Fixing jobs segment to work with cygwin