Build release first like build.sh does, and self-elevate via UAC
(powershell Start-Process -Verb RunAs) instead of requiring an
already-elevated shell.
Neither doas nor sudo exist there and id -u never reports root,
so install/uninstall always hit the no-root error. IS_WIN is now
computed once alongside MK_FILE and reused for the priv check.