Fix OS X build.

Here's a fix for the failing OS X build.