Patch needed to build on Windows.