changed install script to work on windows systems too

see  #361