Fix OS X build.