Fix Mac OS X build.