support various linux variants