Fix: wrong OS detection when SDK env or Yocto