fix network cmake syntax