Fixing build

Hi Alan,
I'm sorry for the delay but I've a lot of work in this period.

I've fixed the issues you have previously open regarding the compilation. Now the makefile should build the deps using your "method".

If it's ok, I begin to import some tests. 

PS I've also created a Vagrant box to use your add-on on others OS. Let me know if you are interested on it.