build: Fix regression introduced by MingW32 port.