[freebsd] More out of source build related fixes.
[freebsd] More out of source build related fixes.

tstack/lnav,sureshsundriyal/lnav,tstack/lnav,tstack/lnav,tstack/lnav,sureshsundriyal/lnav,sureshsundriyal/lnav,sureshsundriyal/lnav