configure: fix the --without-ssl option
build: set `process.platform` to "sunos" on SunOS
gyp sets it to "solaris" by default, but versions of node v0.6.x and
older would report "sunos". Let's keep things consistent.
node.gyp: include the config.gypi file in the js2c inputs list
Default node_shared_v8 to false.
build: remove the old -DPLATFORM="mac" define
To prevent redefinition warnings.
build: set `process.platform` to "darwin" on OS X
This is consistent with the old waf build system, and doesn't break old scripts
that are expecting the value to be "darwin".