Fix compilation on OS X (at least 10.9)

- without this, linking fails.