Corrected #ifdefs for tun/tap support.