fix mingw build
(?) does this brake *nix build?