Add gentoo support
Merge pull request #163 from vaskas/gentoo_support

Add Gentoo support