added in a fix for gentoo.