Fix pure C compilation
Merge pull request #90 from tbeu/fix-c-compilation

Fix pure C compilation