fix compilation issues

Everything is in the title: When cloned the project did not compile. 
Furthermore, tests are failing, is this "normal" ?

PS: Thanks for this great stuff!