Fix not compiling DHT
Fix missing dependencies in network module.
Fix using wrong paths in network module Tupfile.