fixed freebsd hardware gathering (freebsd 9)