Fix compilation for Clang on OS X.