correctly check if you are running amazon linux