Fix compilation on OS X 10.9 (clang)