Fix ccall warnings with static compile
Merge pull request #62 from simonster/compilation-warning

Fix ccall warnings with static compile