Fix a typo where platform was 'windows' not 'win'

This was reported by dracu on freenode