Make ethernet library compilable