node: add use-shared-libraries option