Improved OS detection

I improved the `setup.sh` such that it also works for Arch Linux.
I haven't had the chance to test it on other system though, what do you think?