Fixing a build problem with -lpthread and -ldl in Linux.
Merge pull request #214 from victormatheus/master

Fixing a build problem with -lpthread and -ldl in Linux.