fix compilation with clang on osx 10.9