use 'ping' instead of absolute path

to avoid errors in different platforms