redo freebsd version detection