fixed compilation warning on Gentoo