Added linux OS detection and support code