Should check condition on variable $OS not $Platform fixes #24

This includes too small fix to post build it on windows