Add virtual inheritance of aodv and olsr