Rebuilding of the Linux distribution detection