Fix compilation on OS X (at least 10.9)

 - without this, linking fails.
Merge pull request #14 from NikolausDemmel/fix-osx

Fix compilation on OS X (at least 10.9)