Fix Windows regression

Introduced by b5fed601948237037513a9b7f967c8fc6c9ff1f6.