This is more or less the equivalent of Sven-Haegar Koch's fixes in the 1.1 branch.
When compiled with vde/device.c, tinc will connect to a vde_switch instance instead of using a tun/tap device.