Merge git://github.com/yongyi781/Halide into windows
merge yongyi781's MSVC fixes while restoring Linux/OSX compatibility
Merge branch 'windows' of https://github.com/halide/Halide