Fix compile errors, update and lose dependencies 

Hi! 
I fixed dependencies and compilation errors, now it's possible to use your lib with current fresh versions.