make compile pass on gentoo