Patch when Windows headers are included and compiling __main__.cpp (if we could add a unique HXCPP header to the generated __main__.cpp, I think it could be a simple, robust system to avoid things like this)