better ubuntu version detection