Changes for cygwin

Few updates for cygwin