Better dection for Ubuntu when a custom kernel is used