[boot] set globals.os to process.platform so plugins can check against it