fixed linking on FreeBSD (nw)

also simplified network part in sdl.mak a bit