Fix build on Win32

regression introduced by ec9efd78