type -p
`which` is not guaranteed to be installed on all machines. Since the script is meant to be run on the user's host machine it is more portable to use `type -p` here. Closes: https://github.com/dockcross/dockcross/issues/880