build: improve makefile to be os agnostic
For certain vsbuild.bat actions, it executes makefile and on PowerShell it was throwing error for me because uname doesn't exist. This pull-request doesn't solve all Windows related issues in makefile but makes the terminal output a lot cleaner.
cc @nodejs/platform-windows @nodejs/build
CI: https://ci.nodejs.org/job/node-test-pull-request/59012/
CI: https://ci.nodejs.org/job/node-test-pull-request/59023/
cc @nodejs/platform-windows @lemire can you take a look?
Unrelated to this PR, but do we build Node for Windows ARM64 in CI?
@lemire yes, here: https://ci.nodejs.org/job/node-compile-windows/55884/nodes=win-vs2022-arm64/