Add get_broadcast()

Remove the TODO in LAN_discovery.c to get the actual broadcast IP, and replace it with get_broadcast(). I'm not sure how many *nixes can run this, so I wrapped everything in a few `#ifdef __linux`'s