Retrieve the SysProcAttr from a separate function. Completely eliminates syscall from main file.
Setsid is not a part of syscall.SysProcAttr on Windows, so we only set that on systems that have it.