Fixed clang compile ... Hopefully this works on OSX as well.