fix compilation on with clang on osx 10.9