added support for Debian

A bit cleaner way of OS support. Should work with Debian, Ubuntu, CentOS, Fedora and RedHat