Fix detection of Linux distributions in installer scripts.