clang compile success on OSX 10.8