Compatibility with gentoo