Use clang for Mac OS X 10.7 build and gcc47 for previous versions of Mac OS X