SConscript: fix windows versioning

Need sys to check platform.