fix clang build on OSX 10.9 Mavericks