Gentoo compatibility