Windows.h instead of windows.h fails to compile when cross compiling on a case sensitive filesystem (MinGW on Linux)
setpgrp(void) doesn't exist on FreeBSD, setpgid(0, 0) is the portable alternative