old_contents: {
    "targets": [
      {
        "target_name": "node-eclib",
        "sources": [
          "src/cpp/node-eclib.cpp",
          "src/cpp/libmain.cpp",
          "src/cpp/asyncencode.cpp",
          "src/cpp/asyncdecode.cpp",
          "src/cpp/asyncreconstruction.cpp",
          "src/cpp/libutil.cpp"
        ],
        "include_dirs" : [
          "/usr/local/include/liberasurecode",
          "<!(node -e \"require('nan')\")"
        ],
        "libraries": [ "/usr/local/lib/liberasurecode.so" ]
      }
    ]
  }
  
new_contents: {
    "targets": [
      {
        "target_name": "node-eclib",
        "sources": [
          "src/cpp/node-eclib.cpp",
          "src/cpp/libmain.cpp",
          "src/cpp/asyncencode.cpp",
          "src/cpp/asyncdecode.cpp",
          "src/cpp/asyncreconstruction.cpp",
          "src/cpp/libutil.cpp"
        ],
        "include_dirs" : [
          "/usr/local/include/liberasurecode",
          "<!(node -e \"require('nan')\")"
        ],
        "conditions": [
          ['OS=="mac"', {
            "libraries": [ "/usr/local/lib/liberasurecode.dylib" ]
          }],
          ['OS=="linux"', {
            "libraries": [ "/usr/local/lib/liberasurecode.so" ]
          }]
        ]
      }
    ]
  }
  
subject: add OSX compatibility