Fix dnet include for cross-platform