Fix build on Mac OS X (Darwin).

For some reason (probably my fault) it was broken.