Modify for Amazon Linux.

Can't run at Amazon Linux.
I've modified check_os.
Can run as Serverspec::Helper::DetectOS