Tidy Ups and Fixes.

I have fixed the very broken install.sh and added some makefile goodness to the examples. 

The wiki can be updated with new install instructions once this has been pulled.


Thanks, Matt.