Use cocoa as default only with Clang on MacOSX > 10.7