Fixing Gentoo ebuild