Fix regression in commit da80be2 on Linux and Windows.