Allow path to be set for dot command line tool.

With this it also works on Windows and where the /bin folder is not added to the PATH env.