Fix most of the warnings in System.Process.Internals
Fix warnings on non-Windows