Detect *BSDs as supporting libc as well.

Modified fastcgi server to be able to use native (and local sockets) with *BSDs as well. I tested it on FreeBSD with lighttpd & local socket and it works as expected.