Fix building for Windows after commit b320c5095.