[compilation] Fix compilation on glibc 2.19/gcc 4.8
Merge pull request #55 from faenil/nemomerge_fixes

[compilation] Fix compilation on glibc 2.19/gcc 4.8