Fix building on windows.