Fix ec2 ami's script. Ignore Windows images