Fix error when building on Windows.