Use more explicit checks for the Illumos/FreeBSD trees.