Re-add Gentoo support

This adds Gentoo support again.