fix linux shared lib $ORIGIN

 - this is needed since gyp's make generator uses a
   "secure" rpath: https://code.google.com/p/gyp/issues/detail?id=315
 - for ease we let the OS X @loader_path adapt here