Fix for non-glibc linux environments
Merge pull request #367 from Ptico/master

Fix for non-glibc linux environments