Make it build on Windows (with limitations)