Gentoo compatibility

adds compatibility to Gentoo Hosts