Fix compiler error on Windows.