Build network_coding.c into servald, use more constants instead of magic numbers