Link libmcd with network libs

Change-Id: If300678bdafcd869cb7ff2cae3191a64b23021f9