Added OS and version detection for Amazon Linux. (RT#88412)