Merge "Fix Windows build" into stable-2.6