netdefs: add freebsd to an #ifdef block