Support for Cygwin - command "install-modx"

To be able run install-modx command on Windows environment within Cygwin I have to made those changes. 

I believe everything should be backward compatible. :wink: