Fix bug in the C module affecting Mac OS X
Merge pull request #4 from kilink/master

fix hanging on Mac OSX