Change --skip-alias to use grep/head instead

It looks like not all platforms support --skip-alias, so this solution should be more platform independent. grep is used to filter out any possible alias lines, while head is used to list only the first executable.