Fixing isWin deprecated function
Merge pull request #134 from carcam/bugsfixing

Fixing isWin deprecated function