[compilation] Fix compilation on newer kernels
[build] Add git build requires
Merge pull request #4 from faenil/nemomerge_fixes

Compilation and build fixes