Fix building for Windows.