open is not a valid command in cygwin, added a check to use cygstart ins...

...tead if building in cygwin