detect windows when running under IronPython
fixed windows test
Merge pull request #1897 from paweljasinski/ironpython

detect windows when running under IronPython