allow native compilation to run on non-raspi boxes too

apt-get command exists on Debian distributions only (ubuntu, raspian, etc). Since I run Gentoo on my raspberry pi, the compilation then failed in the install of prerequisites (which I already did manually before). So this check should make sure the apt-get commands are only run on distros with that command.