Add root check and support for Debian 7, Mint 13