`./config --debug`: node's .default_configuration should be 'Debug' for debug binary, 'Release' for release binary

NodeJS from Git, configured with (among other things)  `./configure --debug`, builds both a Debug and a Release build of node.
`make install` installs the Release build, but `node -e 'console.log(process.config.target_defaults.default_configuration)'` still gives "Debug" when using the Release build node binary.

From what I've found, this causes node-gyp to build Debug versions of addons unless '-r' option is specified.
This causes problem when `npm install` builds these addons as dependencies, since no way to specify '-r' option to node-gyp. Not all entry scripts are designed to deal with path to the Debug build of the addon, so using these modules will fail.

Wouldn't it be much more logical to have process.config.target_defaults.default_configuration be:

- 'Release' for out/Release/node (and the binary installed with `make install`)
and
- 'Debug` for out/Debug/node

?