nsis: simplify OS detection