Adding installation of python 2.7 on Amazon.

Amazon requires installing using package name python27 rather than python.

Since the platform family is still detected as 'rhel', it needs a separate check against the platform.