Resolve build issues on Windows.