title: Invalid deployment target for -stdlib=libc++ on OSX 10.8
body: <p>I am compiling through <code>node-gyp</code> a Node.JS package written in C++. When I compile it I receive the following error: <code>clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)</code>. I'm running on OSX 10.8, and I have installed the XCode Command Line Tools. This is the file used by node-gyp to compile the package:</p>
  
  <pre><code>{
    "targets": [
      {
        "target_name": "package_name",
  
        'type': 'executable',
  
        'xcode_settings': {
          'OTHER_CFLAGS': [
            "-std=c++11",
            "-stdlib=libc++"
          ],
        },
  
        "sources": [ "package_src.cpp" ],
      }
    ]
  }
  </code></pre>
  
  <p>Basically it specifies the target of the compilation, the type and the flags, as well as the sources.</p>
  
  <p>Any idea on how I can solve this problem? </p>