fix check_icmp permissions on linux