Fix printf format error on OSX
Merge pull request #19 from ramonza/master

Fix compilation error on OSX