installer: get uid and gid only for macos
to set the required ownership for the bitmask-helper
unix socket we need to fetch the uid and gid of the
user during installation, this information is given
by the id
command and it is needed only on macos
this fixes a bug on windows where installation fails
due to missing the id
executable on windows