Fix several portability issues and add SConscript for Windows build.
Attach a file by drag & drop or click to upload