Got "system" working for FreeBSD

Now the build system won't work for windows, but it is  a quick fix,
"system.c" is windows, "sys_bsd.c" is FreeBSD.