[OS X] Fix compilation with Clang