deal with the insanity of amazon linux

amazon linux's platform version is 2013.06, but platform_family is rhel.