Fix compilation on OSX.
Merge pull request #1 from dterei/master

Fix compilation on OSX.