Updated macros for supporting various versions of node-js.