Make this compile on linux

* Makefile provided
* include <string.h> where needed to get strdup()
Check presence of dot on PATH. Don't ask for path if available.
Merge pull request #1 from hrnr/linuxport

Linuxport