Expand ifdefs for HAVE_NETWORK_CMD