Fix warning.
Fix Windows build. Parts of it, at least.