Make require('os').platform()/arch() returns the same as process.platform/arch

Fixes #263