FreeBSD: proper the adapter detection

This is my patch for good adapter detection under FreeBSD.

tested with XBMC 12.2 and 13 Alpha4