Fixed NetworkCom compile errors