fix ubuntu detection