Windows build bugfix