Silence a compiler warning on openbsd and fix windows build
There's a warning when building on openbsd that 'seed' can be used without being initialized. This is a false positive, but let's silence it anyway.
Also, some variables are initialized mid-block, which I think is still a problem for windows.