fix error for gentoo