Fixing library linking dependency issue with control and netpacket