Improved makefile slightly. Also adding the test_plato_daemon.cpp file which I though I had included last time, but hadn't.