fixed is_ec2 test in glm_bench