Fixes in scripts/gentoo