fix build on Gentoo-Linux