Fix clang build under mavericks (OSX 10.9)